<%@ page language="java" contentType="text/html; charset=UTF-8"  pageEncoding="utf-8"%>
<%@ include file="/public/pathvariable.jsp" %>
<!DOCTYPE html>
<html lang="en">
	<head>
		<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
		<meta http-equiv="pragma" content="no-cache"> 
		<meta http-equiv="Cache-Control" content="no-cache, must-revalidate"> 
		<meta http-equiv="expires" content="0">
		<title>站点信息编辑</title>
		<link rel="stylesheet" href="<%=basePath %>css/style.css">
		<link rel="stylesheet" href="<%=basePath %>css/msg.css">
		<link rel="stylesheet" href="<%=basePath %>css/ui_base.css">
		<link rel="stylesheet" href="<%=basePath %>css/f_style.css">
		<link rel="stylesheet" href="<%=basePath %>css/public.css">
	</head>

	<body ng-app="editApp">

		<input type="hidden" id="headUserId" value="${userinfo.userId}" />
		<input type="hidden" id="headUserAccount" value="${userinfo.userAccount}" />
		<div class="right" ng-controller="editCtrl">
			<!--内容区-->
			<div class="msg_info_table">
				<form name="signup_form" novalidate>
				<table width="100%" border="0" cellspacing="1" cellpadding="0" class="mtable">
					<tr>
						<th scope="row" width="80" height="50">站点名称</th>
						<td>
							<input type="text" class="ui_text disui"  ng-model="content.domain_name" style="width:600px"
							ng-class="{error: signup_form.name.$dirty && signup_form.name.$invalid}" name="name" ng-minlength="1" ng-maxlength="100"  required
							>
							<span class="error">
								<small class="error" ng-show="signup_form.name.$error.required" style="color:red">
							        &nbsp;　* 站点名称不能为空 ！
							    </small>
							    <small class="error" ng-show="signup_form.name.$error.minlength||signup_form.name.$error.maxlength" style="color:red">
						            &nbsp;　* 站点名称必须在1-100个字符之间 ！
							    </small>
							</span>
						</td>
					</tr>
					<tr>
						<th scope="row" width="80" height="50">站点网址</th>
						<td>
							<input type="text" class="ui_text disui" ng-model="content.domain_domain" style="width:600px"
								ng-class="{error: signup_form.netAddr.$dirty && signup_form.netAddr.$invalid}" name="netAddr" ng-minlength="1" ng-maxlength="100" required 	
							>
							<span class="error">
								<small class="error" ng-show="signup_form.netAddr.$error.required" style="color:red">
							        &nbsp;　* 站点网址不能为空 ！
							    </small>
							    <small class="error" ng-show="signup_form.netAddr.$error.minlength||signup_form.netAddr.$error.maxlength" style="color:red">
							        &nbsp;　* 站点网址必须在1-100个字符之间 ！
							   </small>
							</span>
						</td>
					</tr>
					<tr style="position: relative; z-index:4">
						<th scope="row" width="80" height="50">站点分类</th>
						<td>
							<div class="ui_select selectListObj" style="float:left;">
                                <input type="hidden" id="tapSelectsEdit" class="infoVal" />
                                <span class="ui_s_t" id="domain_categoryId"></span>
                                <div class="ui_s_bk" style="display: none;">
                                    <a href="javascript:void(0)" type="News">新闻</a>
                                    <a href="javascript:void(0)" type="BBS">论坛</a>
<!--                                <a href="javascript:void(0)" type="PublicNotice">公告</a>
                                    <a href="javascript:void(0)" type="WeChat">微信</a>
                                    <a href="javascript:void(0)" type="Weibo">微博</a>
                                    <a href="javascript:void(0)" type="ResearchReport">研报</a>
                                    <a href="javascript:void(0)" type="BLOG">博客</a>
                                    <a href="javascript:void(0)" type="Live">视频</a>
                                    <a href="javascript:void(0)" type="EPaper">电子报</a> -->
                                </div>
                            </div>
						</td>
					</tr>
<!-- 					<tr>
						<th scope="row" width="80" height="50">标签</th>
						<td>
							<div style="display:none;" ng-bind="hiddenData"></div>
							<span ids="{{content.tagvalue_id}}" id="tagvalue_id" title="{{content.tag_value}}" >{{content.tag_value}}</span>
							<span>
								<a href="javascript:void(0)" style="color:#1cb99a;" class="editExaDataBtn" type="tagvalue_id" ids="{{content.tagvalue_id}}">&nbsp;&nbsp;选择>>&nbsp;</a>
							</span>
						</td>
					</tr> -->
					
				</table>
				</form>
				<div class="btn_bk">
					<a href="javascript:void(0)" class="ui_btn yellow release" ng-click="domAjax('save')" id="publish">确定</a>
					<a href="javascript:void(0)" class="ui_btn green" onclick="window.parent.layer.closeAll();">取消</a>
				</div>
			</div>
			<!--内容区-->
		</div>
		<script>
			basePath="<%=basePath%>";
		</script>
		<script src="<%=basePath %>js/jquery.min.1.8.2.js"></script>
		<script src="<%=basePath %>js/jquery.form.js"></script>
		<script src="<%=basePath %>js/jquery.easing.1.3.js"></script>
		<script src="<%=basePath %>js/layer/layer.min.js"></script>
		<script src="<%=basePath %>js/angular.min.1.2.5.js"></script>
		<script src="<%=basePath %>js/laydate/laydate.js"></script>
		<script src="<%=basePath %>js/config.js"></script>

		<link rel="stylesheet" href="<%=basePath %>js/Jcrop/css/jquery.Jcrop.css">
		<script src="<%=basePath %>js/Jcrop/js/jquery.Jcrop.js" defer></script>
		<script src="<%=basePath %>js/f_layout.js"></script>
		<script src="<%=basePath %>js/f_paging.js"></script>
		<script src="<%=basePath %>resource/js/angular.siteEdit.js"></script>
		<script>
			$(function() {
				UI.message().base();
				$("#myDigest").css("min-height","0");
				$("#myEditor").css("min-height","80px");
			});
		</script>
		
		<!--以下是弹出浮层显示的部分-->
		<div class="layerInfoArea f_zuZhiGuanLiLayer f_gongSiLieBiaoLayer" id="editExaDataLayer">
			<i class="closeBtn"></i>
			<div class="f_title" id="editExaData_tile">
				标签列表
			</div>
			<!--<input type="hidden" id="customId2" />-->
			<div class="CustomsSearch" style="position:relative;width:90%;margin:0 auto;left:0;line-height: 50px;">
				<div class="texts"><label>标签选项(标签类别-标签值)</label><input type="text" id="tagvName" class="enterKeyDownElement2" placeholder="标签值查询"/></div>
				<a href="javascript:void(0)" class="ui_btn w82 h30 green enterKeyDownElement" id="tagvalueQueryBtn">查询</a>

			</div>
			<div id="CustomsAreaList" class="autoYHidden CustomsAreaList" style="max-height:260px;border-bottom:1px solid #ddd;width:90%;margin:0 auto;"></div>
			<div class="submitAreaa submitAreaaGoGo" style="border-top: 0;">
				<div class="selectAllAreaGoGo">
					<div class="infoLlist"><span class="ui_checkbox allSel" checkedbtn="false" checkeddefault="false"></span>
						<font>全选</font>
					</div>
					<div class="infoLlist">
						<font class="reDefault">重置默认</font>
					</div>
				</div>
				<a href="javascript:void(0)" class="ui_btn yellow" id="editExaSubmitBtn">确定</a>
				<a href="javascript:void(0)" class="ui_btn green cancelLayer">取消</a>
			</div>
			<div class="divline"></div>
		</div>
		<style>
			.xubox_main {
				height: auto!important;
				max-height: 670px!important;
			}
			.xubox_dialog {
				height: 45px;
			}
			.f_ulList3 .f_list span.s04 {
				cursor: default;
			}
			.ui_select input.ui_s_t {
				top: 0px;
			}
			.ui_select .ui_s_bk a {
				text-overflow: ellipsis;
				white-space: nowrap;
				overflow: hidden;
			}
			.texts {width:auto !important;}
		</style>
	</body>
</html>